package com.pattern.factory.fatorymethod;

public class FatoryMethodText {
    public static void main(String[] args) {
        IGameAbstaructFactory factory =new CombatFactory();
        IGame iGame = factory.create();
        iGame.Development();

        factory =new RoleFactory();
        iGame = factory.create();
        iGame.Development();
    }
}
